﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link rel="stylesheet" href="@Url.Content("~/resources/css/main.css")" />
    <script>
        Ext.onReady(function () {
            if (top !== self) {
                Ext.select("a").on("click", function (e, el) { parent.location = el.href; }, null, { preventDefault: true });
            }
        });
    </script>
</head>
<body>
    @Html.X().ResourceManager()
    @helper Links13()
        {
        <p>
            <span>1</span><a href="/#/Games/Questions/">Quản trị câu hỏi</a></p>
        <p>
            <span>2</span><a href="/#/Users/User_Managerment/">Quản trị người dùng</a></p>
        <p>
            <span>3</span><a href="/#/GridPanel/ArrayGrid/ArrayWithPaging/">Trợ giúp</a></p>                                                    
    }
    @helper Links46()
        {
        <p>
            <span>4</span><a href="/Main/Logout">Logout</a></p>
        <p>
            <span>5</span><a href="/#/ViewPort/Basic/Built_in_Markup/"></a></p>
        <p>
            <span>6</span><a href="/#/ViewPort/Basic/Built_in_Markup/"></a></p>
                                                    
    }
    @(
 Html.X().Viewport()
           .Cls("welcome")
           .Layout(LayoutType.VBox)
           .Items(items =>
           {
               items.Add(Html.X().Container()
                   .Height(185)
                   .Content(
                        @<text>
    <div id="welcome-title">
        <div>
            Administrator page</div>
    </div>
    <div id="welcome-links">
        <div id="title">
            Chức năng hay dùng</div>
        <div class="list">
            @(
 Html.X().Container()
                                            .Layout(LayoutType.HBox)
                                            .Items(links =>
                                            {
                                                links.Add(Html.X().Container().Flex(1).Content(c => Links13()));
                                                links.Add(Html.X().Container().Flex(1).Content(c => Links46()));
                                            })
                                    )
        </div>
    </div>
    </text>
                   )
               );
           })
     )
</body>
</html>
